package com.example.login.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.login.entity.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface EmployeeMapper extends BaseMapper<Employee> {
    @Select("select * from employee where username = #{name}")
    Employee selectEmployee(String name);
}
